<!DOCTYPE html>
<html lang="ar">
<head>
    <title>الاتفاقيات</title>


	<?php $this->load->helper('url');?>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta charset="utf-8">


<script type="text/javascript" src="<?php echo base_url('assets/js/jquery.tablesorter.min.js');?>" ></script>
		<link href="<?php echo base_url("assets/css/table.css")?>" rel="stylesheet" type="text/css" />
	<link href="<?php echo base_url("assets/css/ch_menu.css")?>" rel="stylesheet" type="text/css" />
	
</head>


<?php include_once('header.php');

		//$r=$les_convention;
		 $this->load->library('session');
        $num_ar=$this->session->userdata('data_charticle'); //access it
        $chcl=$num_ar;
 ?>

<div id="destination" >
  <h1>الاتفاقيات</h1>
  <div id="body">
  
  ////
   <div class="CSS_Table_Example" style="width:600px;"> 
   <table id="myTable" class="tablesorter">
  <thead>
<tr>
    <th>   التاريخ  </th>
  <th> مهلة الدفع </th>
   <th>    المورد  </th>
  <th>  عادية </th>
   <th>  مدة الانجاز </th>
   <th>  الاتفاقية </th>
</tr>
</thead>
<?php

foreach($results as $r) 
{

	echo '<tr>
	        <td>'.$r->date.'</td>
		    <td>'.$r->delai_payement.'</td>
		    <td>'.$r->nom.'</td>
		    <td>'.$r->is_regularise.'</td>
		   <td>'.$r->delai_realisation.'</td>
		  <td> <a href="http://www.iqama3000.com/iqama_04_05_14/engagement_crt/calcule_montant_engagement/'.$r->id_convetion.'">'.$r->id_convetion.'</a></td>
		  </tr>'  ;
	
}

  
?>
</table>
</div>

  </div>
  <div>  
<form action="http://www.iqama3000.com/iqama_04_05_14/budget_ctr/load/budget_vew">
    <input type="submit" value="عودة">
</form> 

<form action="http://google.com">
    <input type="submit" value="جديد">
</form>
</div>

</div>
 

</html>